Wall.Create
Description:
Creates a non rectangular profile wall within the project using the specified wall type.
Creates a non rectangular profile wall within the project using the specified wall type.
Overloads (5):
Create(Document,IList[Curve],ElementId,ElementId,Boolean)
-
documentThe document in which the new wall is created.
-
IList<Curve>profileAn array of planar curves that represent the vertical profile of the wall.
-
wallTypeIdId of the wall type to be used by the new wall instead of the default type.
-
levelIdId of the level on which the wall is to be placed.
-
BooleanstructuralIf set, specifies that the wall is structural in nature.
-
The input profile contains at least one helical curve and is not supported for this operation.
-
A non-optional argument was null
-
Failed to create the wall.
-
The document is in failure mode: an operation has failed, and Revit requires the user to either cancel the operation or fix the problem (usually by deleting certain elements). -or- The document is being loaded, or is in the midst of another sensitive process.
-
The document has no open transaction.